Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Match WMA nocatch msg better and check... #1092

Merged
merged 1 commit into from
Sep 23, 2024
Merged

Conversation

rocky
Copy link
Member

@rocky rocky commented Sep 23, 2024

  • mathics/builtin/procedural.py: add doctest check for error message; correct class sorting
  • mathics/core/evaluation.py; wrap result in Hold, but not the message

@mmatera it looks like you added the Throw error handling code a while ago (4 years ago?).

I am in the slow process of going over https://github.com/Mathics3/mathics-core/pull/new/match-Hold-error-msg and noticed this.

mathics/builtin/procedural.py: check error message
mathics/core/evaluation.py; wrap result in Hold, but not the message
@rocky rocky requested a review from mmatera September 23, 2024 17:06
Copy link
Contributor

@mmatera mmatera left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@rocky rocky merged commit ad7c63b into master Sep 23, 2024
11 checks passed
@rocky rocky deleted the match-Hold-error-msg branch September 23, 2024 19:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants